using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._CartographyTools._Annotation
{
    /// <summary>
    /// <para>Update Annotation Reference Scale</para>
    /// <para>Updates the reference scale of an existing annotation or dimension feature class.</para>
    /// <para>更新现有注记或尺寸标注要素类的参考比例。</para>
    /// </summary>    
    [DisplayName("Update Annotation Reference Scale")]
    public class UpdateAnnotationReferenceScale : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public UpdateAnnotationReferenceScale()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_anno_features">
        /// <para>Input Annotation Features</para>
        /// <para>The input annotation or dimension features.</para>
        /// <para>输入注记或尺寸要素。</para>
        /// </param>
        /// <param name="_reference_scale">
        /// <para>Reference Scale</para>
        /// <para>The feature class reference scale to be updated.</para>
        /// <para>要更新的要素类参考比例。</para>
        /// </param>
        public UpdateAnnotationReferenceScale(object _in_anno_features, double? _reference_scale)
        {
            this._in_anno_features = _in_anno_features;
            this._reference_scale = _reference_scale;
        }
        public override string ToolboxName => "Cartography Tools";

        public override string ToolName => "Update Annotation Reference Scale";

        public override string CallName => "cartography.UpdateAnnotationReferenceScale";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_anno_features, _reference_scale, _updated_annotation];

        /// <summary>
        /// <para>Input Annotation Features</para>
        /// <para>The input annotation or dimension features.</para>
        /// <para>输入注记或尺寸要素。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Annotation Features")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_anno_features { get; set; }


        /// <summary>
        /// <para>Reference Scale</para>
        /// <para>The feature class reference scale to be updated.</para>
        /// <para>要更新的要素类参考比例。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Reference Scale")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public double? _reference_scale { get; set; }


        /// <summary>
        /// <para>Updated Annotation</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Updated Annotation")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _updated_annotation { get; set; }


        public UpdateAnnotationReferenceScale SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}